module lang.d.sts.expressions.darrayliteral;

import lang.d.sts.expressions.dexpression;
import lang.d.sts.expressions.dcommaexpression;
import lang.d.types.dtype;
import lang.d.visitors.dvisitor;

class DArrayLiteral: DExpression {
    private DCommaExpression myArgumentList;

    public this(DCommaExpression expr) {
        myArgumentList = expr;
        expr.setParent(this);
    }

    public DCommaExpression getArgumentList() {
        return myArgumentList;
    }

    override public void accept(DVisitor visitor) {
        visitor.visitArrayLiteral(this);
    }
}

